package cn.just.food.Test;

import org.junit.Test;

import cn.just.food.dao.UserDao;
import cn.just.food.entity.User;

public class TestMethod {
	@Test
	public void test01(){
		String nickname = "stefen";
		String phone = "13642650033";
		String pwd = "456";
		
		UserDao dao = new UserDao();
		User user = new User(nickname,phone,pwd);
		dao.addUser(user);
		System.out.println(user.getNickname());
		System.out.println(user.getPhone());
		System.out.println(user.getPwd());		
	}
}
